//
//  ProtocolViewController.m
//  BCW
//
//  Created by Mac on 16/11/7.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "ProtocolViewController.h"
#import "UIBarButtonItem+CustomItem.h"

@interface ProtocolViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation ProtocolViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"皇后娱乐";
    self.navigationController.navigationBar.barTintColor = ThemeColor;
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:@"return" hightImage:@"return" target:self action:@selector(popViewController:)];
    
    NSURL *url = [NSURL URLWithString:@"http://maila365.com/"];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [self.webView loadRequest:request];
}

- (void)popViewController:(id)sender{
    [self dismissViewControllerAnimated:YES completion:nil];
}

@end
